package DulLinkedList;

/**
 * created with IDEA
 *
 * @author haifeng.wang
 * @since 2019-06-19-16:24
 */
public class DulNode<E> {

    E data;
    DulNode<E> prev;
    DulNode<E> next;

    public DulNode(E data){
        this.data = data;
        this.prev = null;
        this.next= null;
    }

    public DulNode(DulNode<E> prev, DulNode<E> next, E data) {
        this.prev = prev;
        this.next = next;
        this.data = data;
    }
}
